org.globalplatform.contactless
Interface CRSApplication

All Superinterfaces:
CRELApplication, javacard.framework.Shareable

public interface CRSApplication
extends CRELApplication

This interface allows processing state change requests for applets participating to the contactless front end.

The CRS application shall expose the CRSApplication interface object(s) through Applet.getShareableInterfaceObject(javacard.framework.AID, byte) only if the client AID is null, and the parameter is set to GPCLSystem.GPCL_CRS_APPLICATION.


Method Summary
 boolean processCLRequest(org.globalplatform.GPRegistryEntry requester, GPCLRegistryEntry target, short event)
          Called by the OPEN for each activation requested by an Application that does not have the Self-Activation Privilege.
 
Methods inherited from interface org.globalplatform.contactless.CRELApplication
notifyCLEvent
 

Method Detail

processCLRequest

boolean processCLRequest(org.globalplatform.GPRegistryEntry requester,
                         GPCLRegistryEntry target,
                         short event)
Called by the OPEN for each activation requested by an Application that does not have the Self-Activation Privilege.

The CRS Application shall use GPCLRegistryEntry to change the life cycle state of the requesting applet.

If the Applet implementing the CRSApplication interface returns from the notification and initiated transaction in progress,then the OPEN automatically aborts the transaction.

Parameters:
requester - the GPRegistryEntry of the applet requesting the change
target - the GPCLRegistryEntry of the contactless applet to update
event - requested change:
Returns:
true if transition success, false otherwise.